<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title> 卧槽槽，这个有按钮的转动三角形</title>
		<h1>你信不信它可以反方向转动</h1>
        <script src="js/webgl-utils.js"></script>
		<script src="js/webgl-debug.js" ></script>
		<script src="js/cuon-utils.js"></script>
		<script src="js/cuon-matrix.js"></script>
		<script src="js/RotatingTriangles.js"></script>
	</head>
	<body onload="main()">
		<canvas id="webgl" width="400" height="400">
			please use a browser that supports "canvas"
		</canvas>
        <br>
        <hr>
        <button id="direction" onclick="changeDir()" value="1">换一个转动方向</button>
	</body>
</html>
